import 'package:cbec_app/generated/json/base/json_field.dart';
import 'package:cbec_app/generated/json/home_widget_activity_entity.g.dart';
import 'dart:convert';
export 'package:cbec_app/generated/json/home_widget_activity_entity.g.dart';

@JsonSerializable()
class HomeWidgetActivityEntity {
  int? activityType = 0;
  int? endTime = 0;
  int? startTime = 0;
  int? status = 0;

  HomeWidgetActivityEntity();

  factory HomeWidgetActivityEntity.fromJson(Map<String, dynamic> json) => $HomeWidgetActivityEntityFromJson(json);

  Map<String, dynamic> toJson() => $HomeWidgetActivityEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
